﻿using System.Collections.Generic;
using FrameworkManapro.BusinessModel;

namespace GMAC.ReportingSystem.Business.Entities
{
    /// <summary>
    /// Modified by: Sandra Sarda
    /// Date:        29/03/2011
    /// Description: Added the calculation type propiety.
    /// </summary>
    [DbProcedures(Insert = "", Update = "", Delete = "")]
    public class Bank : BusinessEntity
    {
        /// <summary>
        /// Gets or sets the DebitBankNumber.
        /// </summary>
        /// <value>The DebitBankNumber.</value>
        
        [DbParameter(0, 0, 0)]
        [TableColumn]
        public string DebitBankNumber { get; set; }

        /// <summary>
        /// Gets or sets the DebitBankCode.
        /// </summary>
        /// <value>The DebitBankCode.</value>
        [EntityPrimaryKey]
        [DbParameter(0, 0, 0)]
        [TableColumn]
        public int DebitBankCode { get; set; }

        /// <summary>
        /// Gets or sets the DebitBankName.
        /// </summary>
        /// <value>The DebitBankName.</value>
        [DbParameter(0, 0, 0)]
        public string DebitBankName { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [bank status].
        /// </summary>
        /// <value><c>true</c> if [bank status]; otherwise, <c>false</c>.</value>
        [DbParameter(0, 0, 0)]
        public bool BankStatus { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [BankEliminated].
        /// </summary>
        [DbParameter(0, 0, 0)]
        public bool BankEliminated { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [BankId].
        /// </summary>
        [DbParameter(0, 0, 0)]
        public int BankId { get; set; }

 
    }

    public class BankCollection : List<Bank>
    { }
}
